
#include "FrictionInfo.h"

FrictionInfo::FrictionInfo(Vector2D normalForce, Vector2D contactPoint, Vector2D axis, float relativeVelocity, float maxStaticFrictionForce, float staticFrictionCoefficient, float kineticFrictionCoefficient)
{
	this->normalForce = normalForce;
	this->relativeVelocity = relativeVelocity;
	this->contactPoint = contactPoint;
	this->axis = axis;
	this->maxStaticFrictionForce = maxStaticFrictionForce;
	this->staticFrictionCoefficient = staticFrictionCoefficient;
	this->kineticFrictionCoefficient = kineticFrictionCoefficient;
	
}
FrictionInfo::~FrictionInfo()
{
}
	
Vector2D FrictionInfo::GetAxis()
{
	return axis;
}
float FrictionInfo::GetMaxStaticFrictionForce()
{
	return maxStaticFrictionForce;
}
float FrictionInfo::GetStaticFrictionCoefficient()
{
	return staticFrictionCoefficient;
}
float FrictionInfo::GetKineticFrictionCoefficient()
{
	return kineticFrictionCoefficient;
}
float FrictionInfo::GetRelativeVelocity()
{
	return relativeVelocity;
}
Vector2D FrictionInfo::GetContactPoint()
{
	return contactPoint;
}
Vector2D FrictionInfo::GetNormalForce()
{
	return normalForce;
}

